﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>标题页</title>
    <script>
        function renovates() {
            document.location.reload();
        }
    </script>

</head>
<body onload="alert('页面刷新了')">
    <p align="center">
        <input type="button" name="renovates" value="刷新" onclick="renovates()" />
    </p>
</body>
</html>